﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ShopMenu.ascx.cs" Inherits="control_ShopMenu" %>

<table border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td align="left" class="shopMenuHeaderPart">&nbsp;</td>
    </tr>
    <tr>
        <td colspan="4">
            <asp:Repeater ID="productCategoryMenu" runat="server" DataSourceID="productCategoryMenuData">
                <HeaderTemplate>
                    <table class="menuList">
                </HeaderTemplate>
                <ItemTemplate>
                    <tr class="menuItem">
                        <%--<td class="menuItemImage">&nbsp;</td>--%>
                        <td>&nbsp;</td>
                        <td>
                            <a class="menuItemLink" href='<%= rootPath %>shopdetail.aspx?id=<%# DataBinder.Eval(Container.DataItem, "ShopId")%>'><%# Eval("ShopName")  %></a>
                        </td>
                    </tr>
                </ItemTemplate>
                <SeparatorTemplate>
                </SeparatorTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
        </td>
    </tr>
</table>

<asp:ObjectDataSource ID="productCategoryMenuData" runat="server" OnSelected="productCategoryMenuData_Selected"
    TypeName="Pheonix.Fashionzoomer.CustomEntity.TopShops" SelectMethod="GetTopShopList">
</asp:ObjectDataSource>